package com.wenhao.newfeature.annotation;

import java.lang.annotation.*;

/**
 * @author Wenhao Tong
 * @create 2021-07-30 14:21
 */
@Documented
@Target({ElementType.FIELD,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface myValidate {
    String value() default "";
    int min() default 0;
    int max() default 10;
    boolean isNotNull() default true;
}
